#include<cstdio>
int main() {
    int k,n=0;
    for (int k=1;k<=15;k++){
    for(double Sn=0;Sn<=k;++n,Sn+=1.0/n);
    printf("%d\n",n);
    n=0;
    }
    return 0;
}